package com.pethome.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.pethome.common.annotation.Excel;
import com.pethome.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 收容管理对象 t_shelter
 * 
 * @author ruoyi
 * @date 2024-08-26
 */
public class Shelter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @Excel(name = "id")
    private Long shelterId;

    /** 收容人id */
    @Excel(name = "收容人id")
    private Long shelterCustomerId;

    /** 宠物id */
    @Excel(name = "宠物id")
    private Long shelterPetId;

    /** 送养原因 */
    @Excel(name = "送养原因")
    private String shelterPetReason;

    /** 其他说明 */
    @Excel(name = "其他说明")
    private String shelterPetOther;

    /** 收容状态（0-申请，1同意，2驳回） */
    @Excel(name = "收容状态", readConverterExp = "0=-申请，1同意，2驳回")
    private Long shelterPetStatus;

    /** 收容价格 */
    @Excel(name = "收容价格")
    private Long shelterPetPeice;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shelterPetCreateTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date shelterPetResponseTime;

    /** 审核反馈（线上初步审核，线下收容时再次评估确认） */
    @Excel(name = "审核反馈", readConverterExp = "线=上初步审核，线下收容时再次评估确认")
    private String shelterPetResponse;

    public void setShelterId(Long shelterId) 
    {
        this.shelterId = shelterId;
    }

    public Long getShelterId() 
    {
        return shelterId;
    }
    public void setShelterCustomerId(Long shelterCustomerId) 
    {
        this.shelterCustomerId = shelterCustomerId;
    }

    public Long getShelterCustomerId() 
    {
        return shelterCustomerId;
    }
    public void setShelterPetId(Long shelterPetId) 
    {
        this.shelterPetId = shelterPetId;
    }

    public Long getShelterPetId() 
    {
        return shelterPetId;
    }
    public void setShelterPetReason(String shelterPetReason) 
    {
        this.shelterPetReason = shelterPetReason;
    }

    public String getShelterPetReason() 
    {
        return shelterPetReason;
    }
    public void setShelterPetOther(String shelterPetOther) 
    {
        this.shelterPetOther = shelterPetOther;
    }

    public String getShelterPetOther() 
    {
        return shelterPetOther;
    }
    public void setShelterPetStatus(Long shelterPetStatus) 
    {
        this.shelterPetStatus = shelterPetStatus;
    }

    public Long getShelterPetStatus() 
    {
        return shelterPetStatus;
    }
    public void setShelterPetPeice(Long shelterPetPeice) 
    {
        this.shelterPetPeice = shelterPetPeice;
    }

    public Long getShelterPetPeice() 
    {
        return shelterPetPeice;
    }
    public void setShelterPetCreateTime(Date shelterPetCreateTime) 
    {
        this.shelterPetCreateTime = shelterPetCreateTime;
    }

    public Date getShelterPetCreateTime() 
    {
        return shelterPetCreateTime;
    }
    public void setShelterPetResponseTime(Date shelterPetResponseTime) 
    {
        this.shelterPetResponseTime = shelterPetResponseTime;
    }

    public Date getShelterPetResponseTime() 
    {
        return shelterPetResponseTime;
    }
    public void setShelterPetResponse(String shelterPetResponse) 
    {
        this.shelterPetResponse = shelterPetResponse;
    }

    public String getShelterPetResponse() 
    {
        return shelterPetResponse;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("shelterId", getShelterId())
            .append("shelterCustomerId", getShelterCustomerId())
            .append("shelterPetId", getShelterPetId())
            .append("shelterPetReason", getShelterPetReason())
            .append("shelterPetOther", getShelterPetOther())
            .append("shelterPetStatus", getShelterPetStatus())
            .append("shelterPetPeice", getShelterPetPeice())
            .append("shelterPetCreateTime", getShelterPetCreateTime())
            .append("shelterPetResponseTime", getShelterPetResponseTime())
            .append("shelterPetResponse", getShelterPetResponse())
            .toString();
    }
}
